package DocCangAPI;

public class TrimDemo {
    public static void main(String[] args) {
        String name="      我是段焙文    ";
        String newName=name.trim();
        System.out.println(name);
        System.out.println(newName);

    }
}
